package org.jet.emall.rbac.transfer;


import org.jet.emall.rbac.dto.AdminOperationDTO;
import org.jet.emall.rbac.po.AdminOperation;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.Collection;
import java.util.List;

/**
 * @author xiaozai
 * @version 1.0
 * @date 2020-04-05 11:16
 */
@Mapper
public interface AdminOperationDtoTransfer {
    AdminOperationDtoTransfer INSTANCE = Mappers.getMapper(AdminOperationDtoTransfer.class);

    /**
     * 将
     * @param list
     * @return
     */
    Collection<AdminOperation> toPoList(List<AdminOperationDTO> list);
}
